package com.softeem.mapper;

import com.softeem.pojo.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SysRoleMapper {


    //根据用户ID，查询这个用户拥有的角色
    List<SysRole> selectByAdminId(int adminId);

}
